package com.lostreseditores.sabersai.model.control;

import java.util.List;

import com.lostreseditores.sabersai.model.Competencia;
import com.lostreseditores.sabersai.model.dto.CompetenciaDTO;


public interface ICompetenciaLogic {
    public List<Competencia> getCompetencia() throws Exception;

    public void saveCompetencia(String comciadescripv, Integer comciadn,
        String comciasiglav) throws Exception;

    public void deleteCompetencia(Integer comciadn) throws Exception;

    public void updateCompetencia(String comciadescripv, Integer comciadn,
        String comciasiglav) throws Exception;

    public Competencia getCompetencia(Integer comciadn)
        throws Exception;

    public List<Competencia> findByCriteria(Object[] variables,
        Object[] variablesBetween, Object[] variablesBetweenDates)
        throws Exception;

    public List<Competencia> findPageCompetencia(String sortColumnName,
        boolean sortAscending, int startRow, int maxResults)
        throws Exception;

    public Long findTotalNumberCompetencia() throws Exception;

    public List<CompetenciaDTO> getDataCompetencia() throws Exception;
}
